/**   
 * Copyright © 2021 eSunny Info. Tech Ltd. All rights reserved.
 * 
 * 功能描述：
 * @Package: com.yl.staff.model 
 * @author: Bai   
 * @date: 2021年1月22日 上午11:57:02 
 */
package com.yl.staff.model;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

/**   
* Copyright: Copyright (c) 2021 云邻信息科技
* 
* @ClassName: BeanAccountingContentHistory.java
* @Description: 表 accounting-content-history 对应实体
*
* @version: v1.1.0
* @author: Bai
* @date: 2021年1月22日 上午11:57:02 
*
* Modification History:<br>
* Date         Author          Version            Description
*---------------------------------------------------------*<br>
* 2021年1月22日     Bai             v1.0.0             新建<br>
* 2021年1月30日     Bai             v1.1.0             新增 originalMultiple、changeMultiple 属性 <br> 
*/
public class BeanAccountingContentHistory implements Serializable  {

	// @Fields serialVersionUID : 序列化静态标识-默认
	private static final long serialVersionUID = 1L;
	/* 数据编号-表格自动增长列 */
	@ApiModelProperty("数据编号")
	private int id;
	/* 员工编号-根据编号规则计算得出  */
	@ApiModelProperty("员工编号")
	private String staffCode;
	/* 更改内容  */
	@ApiModelProperty("更改内容")
	private String changeContent;
	/* 原始内容  */
	@ApiModelProperty("原始内容")
	private String originalContent;
	/* 更改时间  */
	@ApiModelProperty("更改时间")
	private String changeDate;
	/* 生效日期  */
	@ApiModelProperty("生效日期")
	private String effectiveDate;
	/* 更改类型：更新、删除、新增  */
	@ApiModelProperty("更改类型：更新、删除、新增")
	private String changeType;
	/* 原始金额  */
	@ApiModelProperty("原始金额")
	private BigDecimal originalAmount;
	/* 更改金额  */
	@ApiModelProperty("更改金额")
	private BigDecimal changeAmount;
	/* 原始倍数  */
	@ApiModelProperty("原始倍数")
	private BigDecimal originalMultiple;
	/* 更改倍数  */
	@ApiModelProperty("更改倍数")
	private BigDecimal changeMultiple;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the staffCode
	 */
	public String getStaffCode() {
		return staffCode;
	}
	/**
	 * @param staffCode the staffCode to set
	 */
	public void setStaffCode(String staffCode) {
		this.staffCode = staffCode;
	}
	/**
	 * @return the changeContent
	 */
	public String getChangeContent() {
		return changeContent;
	}
	/**
	 * @param originalAmount the originalAmount to set
	 */
	public void setOriginalAmount(BigDecimal originalAmount) {
		this.originalAmount = originalAmount;
	}
	/**
	 * @param changeAmount the changeAmount to set
	 */
	public void setChangeAmount(BigDecimal changeAmount) {
		this.changeAmount = changeAmount;
	}
	/**
	 * @param changeMultiple the changeMultiple to set
	 */
	public void setChangeMultiple(BigDecimal changeMultiple) {
		this.changeMultiple = changeMultiple;
	}
	/**
	 * @return the originalMultiple
	 */
	public BigDecimal getOriginalMultiple() {
		return originalMultiple;
	}
	/**
	 * @param originalMultiple the originalMultiple to set
	 */
	public void setOriginalMultiple(BigDecimal originalMultiple) {
		this.originalMultiple = originalMultiple;
	}
	/**
	 * @param changeContent the changeContent to set
	 */
	public void setChangeContent(String changeContent) {
		this.changeContent = changeContent;
	}
	/**
	 * @return the originalContent
	 */
	public String getOriginalContent() {
		return originalContent;
	}
	/**
	 * @param originalContent the originalContent to set
	 */
	public void setOriginalContent(String originalContent) {
		this.originalContent = originalContent;
	}
	/**
	 * @return the changeDate
	 */
	public String getChangeDate() {
		return changeDate;
	}
	/**
	 * @param changeDate the changeDate to set
	 */
	public void setChangeDate(String changeDate) {
		this.changeDate = changeDate;
	}
	/**
	 * @return the effectiveDate
	 */
	public String getEffectiveDate() {
		return effectiveDate;
	}
	/**
	 * @param effectiveDate the effectiveDate to set
	 */
	public void setEffectiveDate(String effectiveDate) {
		this.effectiveDate = effectiveDate;
	}
	/**
	 * @return the changeType
	 */
	public String getChangeType() {
		return changeType;
	}
	/**
	 * @param changeType the changeType to set
	 */
	public void setChangeType(String changeType) {
		this.changeType = changeType;
	}
	/**
	 * @return the originalAmount
	 */
	public BigDecimal getOriginalAmount() {
		return originalAmount;
	}
	/**
	 * @return the changeAmount
	 */
	public BigDecimal getChangeAmount() {
		return changeAmount;
	}
	/**
	 * @return the changeMultiple
	 */
	public BigDecimal getChangeMultiple() {
		return changeMultiple;
	}
	/** 
	* @see java.lang.Object#hashCode()  
	* @Function: BeanAccountingContentHistory.java
	* @Description: 该函数的功能描述
	*
	* @param:描述1描述
	* @return：返回结果描述
	* @throws：异常描述
	*
	* @version: v1.0.0
	* @author: Bai
	* @date: 2021年1月30日 下午4:06:55 
	*
	* Modification History:<br>
	* Date         Author          Version            Description
	*---------------------------------------------------------*<br>
	* 2021年1月30日     Bai           v1.0.0               修改原因 <br>
	*/
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((changeAmount == null) ? 0 : changeAmount.hashCode());
		result = prime * result + ((changeContent == null) ? 0 : changeContent.hashCode());
		result = prime * result + ((changeDate == null) ? 0 : changeDate.hashCode());
		result = prime * result + ((changeMultiple == null) ? 0 : changeMultiple.hashCode());
		result = prime * result + ((changeType == null) ? 0 : changeType.hashCode());
		result = prime * result + ((effectiveDate == null) ? 0 : effectiveDate.hashCode());
		result = prime * result + id;
		result = prime * result + ((originalAmount == null) ? 0 : originalAmount.hashCode());
		result = prime * result + ((originalContent == null) ? 0 : originalContent.hashCode());
		result = prime * result + ((originalMultiple == null) ? 0 : originalMultiple.hashCode());
		result = prime * result + ((staffCode == null) ? 0 : staffCode.hashCode());
		return result;
	}
	/** 
	* @see java.lang.Object#equals(java.lang.Object)  
	* @Function: BeanAccountingContentHistory.java
	* @Description: 该函数的功能描述
	*
	* @param:描述1描述
	* @return：返回结果描述
	* @throws：异常描述
	*
	* @version: v1.0.0
	* @author: Bai
	* @date: 2021年1月30日 下午4:06:55 
	*
	* Modification History:<br>
	* Date         Author          Version            Description
	*---------------------------------------------------------*<br>
	* 2021年1月30日     Bai           v1.0.0               修改原因 <br>
	*/
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BeanAccountingContentHistory other = (BeanAccountingContentHistory) obj;
		if (changeAmount == null) {
			if (other.changeAmount != null)
				return false;
		} else if (!changeAmount.equals(other.changeAmount))
			return false;
		if (changeContent == null) {
			if (other.changeContent != null)
				return false;
		} else if (!changeContent.equals(other.changeContent))
			return false;
		if (changeDate == null) {
			if (other.changeDate != null)
				return false;
		} else if (!changeDate.equals(other.changeDate))
			return false;
		if (changeMultiple == null) {
			if (other.changeMultiple != null)
				return false;
		} else if (!changeMultiple.equals(other.changeMultiple))
			return false;
		if (changeType == null) {
			if (other.changeType != null)
				return false;
		} else if (!changeType.equals(other.changeType))
			return false;
		if (effectiveDate == null) {
			if (other.effectiveDate != null)
				return false;
		} else if (!effectiveDate.equals(other.effectiveDate))
			return false;
		if (id != other.id)
			return false;
		if (originalAmount == null) {
			if (other.originalAmount != null)
				return false;
		} else if (!originalAmount.equals(other.originalAmount))
			return false;
		if (originalContent == null) {
			if (other.originalContent != null)
				return false;
		} else if (!originalContent.equals(other.originalContent))
			return false;
		if (originalMultiple == null) {
			if (other.originalMultiple != null)
				return false;
		} else if (!originalMultiple.equals(other.originalMultiple))
			return false;
		if (staffCode == null) {
			if (other.staffCode != null)
				return false;
		} else if (!staffCode.equals(other.staffCode))
			return false;
		return true;
	}
	/** 
	* @see java.lang.Object#toString()  
	* @Function: BeanAccountingContentHistory.java
	* @Description: 该函数的功能描述
	*
	* @param:描述1描述
	* @return：返回结果描述
	* @throws：异常描述
	*
	* @version: v1.0.0
	* @author: Bai
	* @date: 2021年1月30日 下午4:07:01 
	*
	* Modification History:<br>
	* Date         Author          Version            Description
	*---------------------------------------------------------*<br>
	* 2021年1月30日     Bai           v1.0.0               修改原因 <br>
	*/
	@Override
	public String toString() {
		return "BeanAccountingContentHistory [id=" + id + ", staffCode=" + staffCode + ", changeContent="
				+ changeContent + ", originalContent=" + originalContent + ", changeDate=" + changeDate
				+ ", effectiveDate=" + effectiveDate + ", changeType=" + changeType + ", originalAmount="
				+ originalAmount + ", changeAmount=" + changeAmount + ", originalMultiple=" + originalMultiple
				+ ", changeMultiple=" + changeMultiple + "]";
	}

}
